-
Notifications
You must be signed in to change notification settings - Fork 619
[SDK] fix: Skip swap approvals and use local gas prices #6182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SDK] fix: Skip swap approvals and use local gas prices #6182
Conversation
🦋 Changeset detectedLatest commit: f5b4fe1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
d07de97 to
f39e0ab
Compare
| const data: BuyWithCryptoQuoteRouteResponse = (await response.json()) | ||
| .result; | ||
|
|
||
| // check if the fromAddress already has approval for the given amoutn |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo in comment: amoutn should be amount. Consider using a spell checker to catch these small issues before committing.
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/BuyScreen.tsx
Outdated
Show resolved
Hide resolved
size-limit report 📦
|
f39e0ab to
f0c5a54
Compare
f0c5a54 to
f5b4fe1
Compare

PR-Codex overview
This PR focuses on enhancing the
thirdwebpackage by adding a newFiatProvideroption, optimizing button rendering in several screens, improving gas price handling, and refining error message management for better user feedback during transactions.Detailed summary
"COINBASE"toFiatProvidertype.FiatStatusScreenandSwapStatusScreen.ConfirmationScreento manage gas prices locally.getQuote.ts.BuyScreenandFiatScreen.